package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.domain.entity.SysUser;
/**
 * 银行卡对象 bank
 * 
 * @author ruoyi
 * @date 2025-01-14
 */
public class Bank extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    @Excel(name = "主键")
    private Long id;
    /** 用户 */
    @Excel(name = "用户")
    private Long userId;
    private SysUser user;
    /** 银行卡号 */
    @Excel(name = "银行卡号")
    private String bankCard;
    /** 银行名称 */
    @Excel(name = "银行名称")
    private String bankName;

    /** 添加时间 */
    @Excel(name = "添加时间")
    private String addTime;

    /** 删除 */
    private String del;

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setBankCard(String bankCard) 
    {
        this.bankCard = bankCard;
    }

    public SysUser getUser() {
        return user;
    }

    public void setUser(SysUser user) {
        this.user = user;
    }

    public String getBankCard()
    {
        return bankCard;
    }
    public void setAddTime(String addTime) 
    {
        this.addTime = addTime;
    }

    public String getAddTime() 
    {
        return addTime;
    }
    public void setDel(String del) 
    {
        this.del = del;
    }

    public String getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("bankCard", getBankCard())
            .append("addTime", getAddTime())
            .append("del", getDel())
            .toString();
    }
}
